<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html">
    <h:head>
        <link href="css/css.css" rel="stylesheet" type="text/css" />
        <link href="../imagens/layout/icone.png" rel="shortcut icon" type="image/x-icon" />
        <title>ETEC Sylvio de Mattos Carvalho - Administração</title>
    </h:head>
    <h:body>
        <div id="base">
            <div id="corpo">
                <div id="img_login">
                    <img src="../imagens/layout/admin/cadeado.png" /><br />
                </div>
                <div id="campos_login">
                    <h:form>
                        Login<br />
                        <h:inputText id="login" value="#{login.objLogin.email}" required="true" requiredMessage="Digite o usuário"/>
                        <h:messages styleClass="message" for="login" /><br />
                        Senha<br />
                        <h:inputSecret id="senha" value="#{login.objLogin.senha}"  required="true" requiredMessage="Digite a senha"/>
                        <h:messages styleClass="message" for="senha" /><br />
                        <center>
                            <h:commandButton type="submit" value="Login" action="#{login.logar}" />
                            <h:commandButton type="reset" value="Limpar" />
                        </center>
                    </h:form>
                </div>
            </div>
        </div>
    </h:body>
</html>

